package com.example.wlzz.service;

import com.example.wlzz.entity.mongoEntity.UserWithFriends;
import com.example.wlzz.vo.ResultVO;

import java.util.List;

public interface UserWithFriendsService {
     UserWithFriends save(UserWithFriends userWithFriends);
     ResultVO applyForFriends(int userid, int toUserid);  //申请添加好友
     ResultVO getApplyedList(int userid);   //获得好友申请添加列表
     ResultVO agreeApply(String _id,int toUserid);   //同意申请
     ResultVO rejectApply(String _id,int toUserid);  //拒绝申请
     ResultVO getFriends(int userid);  //获取好友列表
}
